package com.haoting.blogservice.service.impl;

import com.haoting.blogservice.entity.CommentSupport;
import com.haoting.blogservice.mapper.CommentSupportMapper;
import com.haoting.blogservice.service.CommentSupportService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tingting
 * @since 2021-02-04
 */
@Service
public class CommentSupportServiceImpl extends ServiceImpl<CommentSupportMapper, CommentSupport> implements CommentSupportService {

    @Override
    public void updateSupportCount(String commentId) {
        baseMapper.updateSupportCount(commentId);
    }
}
